# Contributor: psykose <alice@ayaya.dev>
# Maintainer: psykose <alice@ayaya.dev>
pkgname=traceroute
pkgver=2.1.0
pkgrel=0
pkgdesc="New modern implementation of traceroute(8) utility for Linux systems"
url="http://traceroute.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
makedepends="linux-headers"
options="!check" # no tests
subpackages="$pkgname-doc"
source="
	https://downloads.sourceforge.net/traceroute/traceroute-$pkgver.tar.gz
	reproducible-build.patch
	"

build() {
	make CFLAGS="$CFLAGS"
}

package() {
	make DESTDIR="$pkgdir" prefix=/usr install
}

sha512sums="
3578007c734091ea0c906637c03fd133a8b0154fbf2e6b5c0c881184947918196bc03aeaf872d3bd53777b9b771cba5cf97f73fb5916bb53b75037f429b40ed3  traceroute-2.1.0.tar.gz
ef3727593c857865b2bb955dfb0faab3be0c22ae6f47b521813b7fd2569a42cd78d74ddbff88fcf89379a6c28204cf502aa9f48166e5a6ac192b084e2543a3de  reproducible-build.patch
"
